package com.whpu.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whpu.common.utils.PageUtils;
import com.whpu.mall.product.entity.SkuInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author FanboKai
 * @email fanbokai163@163.com
 * @date 2020-11-19 22:55:24
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //sku的基本信息
    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    //条件查找SKU
    PageUtils queryPageByCondition(Map<String, Object> params);

    //根据spuId查询sku信息
    List<SkuInfoEntity> getSkuBySpuId(Long spuId);
}

